package com.zhengshang.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 视频管理对象 app_video
 * 
 * @author zhengshang
 * @date 2021-05-17
 */
public class AppVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 视频路径 */
    @Excel(name = "视频路径")
    private String videoUrl;

    /** 视频分类（1免费视频，2在线教育） */
    @Excel(name = "视频分类", readConverterExp = "1=免费视频,2=在线教育")
    private String videoClass;

    /** 视频分类（1电视剧，2电影，3其他） */
    @Excel(name = "视频分类", readConverterExp = "1=电视剧,2=电影,3=其他")
    private String videoType;

    /** 视频名字 */
    @Excel(name = "视频名字")
    private String videoName;

    /** 详情页 */
    private String details;

    /** 略缩图 */
    private String videoThumbnailImg;

    /** 热度 */
    private String videoHeat;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setVideoClass(String videoClass)
    {
        this.videoClass = videoClass;
    }

    public String getVideoClass()
    {
        return videoClass;
    }
    public void setVideoType(String videoType) 
    {
        this.videoType = videoType;
    }

    public String getVideoType() 
    {
        return videoType;
    }
    public void setVideoName(String videoName) 
    {
        this.videoName = videoName;
    }

    public String getVideoName() 
    {
        return videoName;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getVideoThumbnailImg() {
        return videoThumbnailImg;
    }

    public void setVideoThumbnailImg(String videoThumbnailImg) {
        this.videoThumbnailImg = videoThumbnailImg;
    }

    public String getVideoHeat() {
        return videoHeat;
    }

    public void setVideoHeat(String videoHeat) {
        this.videoHeat = videoHeat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("videoUrl", getVideoUrl())
            .append("videoClass", getVideoClass())
            .append("videoType", getVideoType())
            .append("videoName", getVideoName())
            .append("details", getDetails())
            .append("delFlag", getDelFlag())
            .append("videoThumbnailImg", getVideoThumbnailImg())
            .append("videoHeat", getVideoHeat())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
